package com.haoziqi.chapter_06;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * TODO
 *
 * @author hzq
 * @version 1.0
 * @date 2021/3/5 14:35
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserBehavior {
    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 商品ID
     */
    private Long itemId;

    /**
     * 品类ID
     */
    private Integer categoryId;

    /**
     * 用户行为：pv、buy、cart、fav
     */
    private String behavior;

    /**
     * 时间戳：单位 s
     */
    private Long timestamp;
}
